Testing Strategies |
Unit testing | ||
![]() |
Testing the protected interface | |
![]() |
Use a derived class that tests the interface |
|
![]() |
Testing the private interface | |
![]() |
Since there is no friend access in Java, private member testing relies on design for testability |